package com.canic.dkd.web.shop.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.canic.dkd.base.annotations.CreateAt;
import com.canic.dkd.base.annotations.CreateBy;
import com.canic.dkd.base.annotations.UpdateAt;
import com.canic.dkd.base.annotations.UpdateBy;
import lombok.Data;

import java.util.Date;

/**
 * shop
 * @author ZC
 */
@Data
@TableName("biz_shop")
public class Shop {

    @TableId(value="id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("deleted")
    private Boolean deleted;

    @TableField("contact")
    private String contact;

    @TableField("phone")
    private String phone;

    @TableField("description")
    private String description;

    /*********分割线**下方字段与业务无关********/

    @CreateAt
    @TableField("created_on")
    private Date createdOn;

    @UpdateAt
    @TableField("updated_on")
    private Date updatedOn;

    @CreateBy
    @TableField("created_by")
    private String createdBy;

    @UpdateBy
    @TableField("updated_by")
    private String updatedBy;


}
